package indi.readbook.example.admin.service;

import indi.readbook.example.common.entity.system.UserDO;

/**
 * <p>
 *    token 服务
 * </p>
 *
 * @author zhangguowei
 * @since 2021-9-7
 **/
public interface TokenService {

    /**
     * 获取token
     * @param user
     * @return
     */
    String getToken(UserDO user);
}
